package com.chw.springbootmybatis.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 车宏伟
 * @date 2020/10/2 19:43
 */
public class Role implements Serializable {

    private Long id;
    private String name;
    private String code;
    private String remark;
    private Long create_user;
    private LocalDateTime create_time;
    private Long modify_user;
    private LocalDateTime modify_time;
    private boolean del_flag;

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", remark='" + remark + '\'' +
                ", create_user=" + create_user +
                ", create_time=" + create_time +
                ", modify_user=" + modify_user +
                ", modify_time=" + modify_time +
                ", del_flag=" + del_flag +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreate_user() {
        return create_user;
    }

    public void setCreate_user(Long create_user) {
        this.create_user = create_user;
    }

    public LocalDateTime getCreate_time() {
        return create_time;
    }

    public void setCreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    public Long getModify_user() {
        return modify_user;
    }

    public void setModify_user(Long modify_user) {
        this.modify_user = modify_user;
    }

    public LocalDateTime getModify_time() {
        return modify_time;
    }

    public void setModify_time(LocalDateTime modify_time) {
        this.modify_time = modify_time;
    }

    public boolean isDel_flag() {
        return del_flag;
    }

    public void setDel_flag(boolean del_flag) {
        this.del_flag = del_flag;
    }
}
